package Comp355Final.main;

import com.google.tts.TextToSpeechBeta;

public class voiceThread extends Thread{
	private String in_text;
	private TextToSpeechBeta mTTS;
	private GUIReadText guireadtext;
	public voiceThread(GUIReadText guireadtext,String in_text,TextToSpeechBeta mTTS){
		this.in_text=in_text;
		this.mTTS=mTTS;
		this.guireadtext=guireadtext;
	}
	public void run() {
		mTTS.speak(in_text, TextToSpeechBeta.QUEUE_ADD, null);
	}
}
